package com.qf.cqut.mapper;

import com.qf.cqut.model.pojo.ANotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 忽失的温热
* @description 针对表【a_notice】的数据库操作Mapper
* @createDate 2024-09-19 23:23:18
* @Entity com.qf.cqut.model.pojo.ANotice
*/
public interface ANoticeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ANotice record);

    int insertSelective(ANotice record);

    ANotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ANotice record);

    int updateByPrimaryKey(ANotice record);

    List<ANotice> selectByLimit(@Param("page") Integer page, @Param("limit") Integer limit);

    Integer count();

    List<ANotice> queryByConditions(ANotice aNotice);

    Integer deleteByIds(@Param("ids")String[] ids);

    Integer addAnotice(ANotice aNotice);

    Integer editAnotice(ANotice aNotice);
}
